<?php

$LIBPATH = "/usr/local/apache2/htdocs/";


$command_string = "/bin/cp -rf /etc/config/config.xml /usr/local/apache2/htdocs/ && sync && sync && sync && sync";

shell_exec($command_string);

include_once "function_net_dns.php";
ApplySysDns();

include_once "function_net_tools.php";
ApplyNetDevInfo();

include_once "function_net_bridge.php";
ApplySysAllBridgeDevInfo();

include_once "function_net_route.php";
ApplyStaticRoutes();
ApplyPolicyRoutes();

include_once "function_sec_filter.php";
ApplySecFilterRule();

include_once "function_sec_nat.php";
ApplySecNatRule();

include_once "function_net_vlan.php";
ApplySysAllVlanDevInfo();

include_once "function_admin_manage.php";
ApplyAdminToSystem_Rule();

include_once "function_dhcp_operate.php";
ApplySysDhcp();

include_once "function_sec_keyword.php";
ApplySysKeyWordFilter();

include_once "function_admin_manage.php";
InitApplySystemAllAdmin();

include_once "function_sec_ipmac.php";
ApplySysIpMacBind();

include_once "function_sec_proxy.php";
ApplySysProxyConfig();

include_once "function_log_config.php";
ApplySysLogConfig();

?>
